//
//  TravelDetailableViewCell.h
//  Travels
//
//  Created by yanghuiyan on 16/3/12.
//  Copyright © 2016年 yanghuiyan. All rights reserved.
//

#import "YHYBaseTableViewCell.h"
#import "NotesModel.h"
@interface TravelDetailableViewCell : YHYBaseTableViewCell

@property (nonatomic, retain) UILabel *text;

@property (nonatomic, retain) UIImageView *pic;

@property (nonatomic, copy) NSNumber *imageWidth;

@property (nonatomic, copy) NSNumber *imageHeight;

@property (nonatomic, copy) NotesModel *notesModel;

// 根据宽高比返回图片高度

+ (CGFloat)heightWithImageWidth:(NSNumber *)width WithImageHeight:(NSNumber *)height;

+ (CGFloat)heightWithText:(NSString *)str;

@end
